package com.ruoyi.manager.service.impl.impl;

import com.ruoyi.manager.mapper.TeacherAnalysisMapper;
import com.ruoyi.manager.service.TeachAnalysisService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;
@Service
public class TeachAnalysisServiceImpl implements TeachAnalysisService {

    @Autowired
    TeacherAnalysisMapper teacherAnalysisMapper;

    @Override
    public List<Map<String, Object>> listClassesInfor() {
        return teacherAnalysisMapper.listClassesInfor();
    }

    @Override
    public Map<String, Object> currentWeekStudentGradeClassify() {
        return teacherAnalysisMapper.currentWeekStudentGradeClassify();
    }

    @Override
    public List<Map<String, Object>> findExercisingClassAvgGrade() {
        return teacherAnalysisMapper.findExercisingClassAvgGrade();
    }

    @Override
    public Map<String, Object> findExercisingTotalClassesTotalGradeAndAvgGrade() {
        return teacherAnalysisMapper.findExercisingTotalClassesTotalGradeAndAvgGrade();
    }

    @Override
    public Map<String, Object> findAllClassesStudentsCoreTaskCompleteRateLessThanForty() {
        return teacherAnalysisMapper.findAllClassesStudentsCoreTaskCompleteRateLessThanForty();
    }

    @Override
    public List<Map<String, Object>> listStudentCoreTaskCompleteRateLessForty() {
        return teacherAnalysisMapper.listStudentCoreTaskCompleteRateLessForty();
    }

    @Override
    public List<Map<String, Object>> coreRateSubmit() {
        return teacherAnalysisMapper.coreRateSubmit();
    }

    @Override
    public Map<String,Object> classHomeworkAnalysis() {
        return teacherAnalysisMapper.classHomeworkAnalysis();
    }

    @Override
    public List<Map<String, Object>> NumberOfProjectManagerEvaluations() {
        return teacherAnalysisMapper.NumberOfProjectManagerEvaluations();
    }

    @Override
    public List<Map<String, Object>> weekWorkNum() {
        return teacherAnalysisMapper.weekWorkNum();
    }

    @Override
    public List<Map<String, Object>> ExhibitionOfEmploymentSpaceInEachProvince() {
        return teacherAnalysisMapper.ExhibitionOfEmploymentSpaceInEachProvince();
    }

}
